$(function () {
    $(".showDetails").click(function () {
        $(this).parent().siblings().toggle();
        $(this).children().toggle();
    });
    subsequent = function (id) {
        var index = layer.open({
            type: 2,
            title: '复诊预约',
            area: ['70%', '95%'], //宽高
            fix: true, //不固定
            maxmin: true,
            content: Feng.ctxPath + '/doctorLooked/subsequent_info/' + id + '/2',
        });
        this.layerIndex = index;
    };
});